<?php
namespace slinks\extensions\action\annotation;

use slinks\common\addendum\Annotation;

/** 
 * This specifies a result for an Action or ActionClass.
 * @Target({"nested"}) 
 * */
class Result extends Annotation{
	
        /**
         * @var string maps the name of the result to the return code from the action. 
         */
	public $name;
	
        /**
         * @var string the type of result to use. Or if empty use the default result type.
         */
	public $type;
	
        /**
         * @var string The value the IResult will be given to process.
         */
	public $value;
	
}